{extend name="index/index"/}

{block name="body"}
<script type="text/javascript">
    $(document).ready(common_obj.form_submit);
</script>

<header class="tab-head">
    <ul class="nav nav-tabs">
        <li class="active">
            <a href="{:url('Mall/order')}">订单列表</a>
        </li>
    </ul>
</header>

<section class="wrapper" style="margin-top:0">
    <div class="row">
        <div class="col-lg-12">
            <section class="panel">
                <div class="panel-body">
                    <div class="form">
                        <form class="cmxform form-horizontal tasi-form" id="data-form">

                            <div class="form-group">
                                <label class="control-label col-lg-2">下单时间</label>
                                <div class="col-lg-10">
                                    <p class="form-control-static">{$data.createtime|date="Y-m-d H:i:s",###}</p>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="control-label col-lg-2">昵称</label>
                                <div class="col-lg-10">
                                    <p class="form-control-static">{$data.nickname}</p>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="control-label col-lg-2">订单编号</label>
                                <div class="col-lg-10">
                                    <p class="form-control-static">{$data.ordernumber}</p>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="control-label col-lg-2">姓名</label>
                                <div class="col-lg-10">
                                    <p class="form-control-static">{$data.name}</p>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="control-label col-lg-2">电话</label>
                                <div class="col-lg-10">
                                    <p class="form-control-static">{$data.phone}</p>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="control-label col-lg-2">身份证号</label>
                                <div class="col-lg-10">
                                    <p class="form-control-static">{$data.people}</p>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="control-label col-lg-2">支付</label>
                                <div class="col-lg-10">
                                    <p class="form-control-static">{$data.price}元</p>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="control-label col-lg-2">手机认证</label>
                                <div class="col-lg-10">
                                    <p class="form-control-static"></p>
                                </div>
                            </div>
                            {if condition="!empty($data.return.result.data.b)"}
                            <div class="form-group">
                                <label class="control-label col-lg-2">黑名单认证</label>
                                <div class="col-lg-10">
                                    <table class="table table-striped">
                                        <tbody>
                                        {volist name="data.return.result.data.b" id="vo"}
                                            {volist name="vo.b" id="vv"}
                                            <tr>
                                                <td>{$vv.blackRiskType}</td>
                                                <td>{$vv.blackFactsType}&nbsp;&nbsp;{$vv.blackFacts}</td>
                                                <td>{$vv.blackAmt}&nbsp;&nbsp;{$vv.blackHappenDate}&nbsp;&nbsp;{$vv.blackPublishSource}</td>
                                            </tr>
                                            {/volist}
                                        {/volist}
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                            {else/}
                            <div class="form-group">
                                <label class="control-label col-lg-2">黑名单认证</label>
                                <div class="col-lg-10">
                                    <p class="form-control-static">没有查询到相关记录</p>
                                </div>
                            </div>
                            {/if}
                        </form>
                    </div>
                </div>
            </section>
        </div>
    </div>
</section>
{/block}